package com.yuexun.beilunpatient.ui.question.model;

import com.yuexun.beilunpatient.base.BaseEntity;
import com.yuexun.beilunpatient.ui.question.bean.PatientQuestionBean;
import com.yuexun.beilunpatient.ui.question.bean.QuestionTypeBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by chenss on 2018/8/23.
 */
public interface IQuestionModel {

    /**
     * 提问listPage
     * @param praise
     * @return
     */
    Observable<BaseEntity<PatientQuestionBean>> inquirePatientQuestionListPage(Map<String, String> praise);

    /**
     * 提问listPage
     * @param praise
     * @return
     */
    Observable<BaseEntity<QuestionTypeBean>> inquirePatientQuestionTypeList(Map<String, String> praise);

    /**
     * 患者发起提问
     * @param praise
     * @return
     */
    Observable<BaseEntity> createPatientQuestion(Map<String, String> praise);
}
